require 'watir-webdriver'
require File.join(File.dirname(__FILE__), '..','..','lib','spreadsheet')
#create the browser, scenario, and page singleton objects
Before do |scenario|
  #only one browser object per run
  if not $browser
    $browser = @browser = Watir::Browser.new(:firefox)
  else
    @browser = $browser
  end
  @browser.window.resize_to(1920, 1080)
end

at_exit do
  $browser.close
end